<template>
<h1>分栏布局组件</h1>
  <el-row :gutter="30">
    <el-col :span="6" style="background-color: skyblue;">测试1</el-col>
    <el-col :span="6"  style="background-color: #00FF00;">测试1</el-col>
    <el-col :span="6"  style="background-color: skyblue;">测试1</el-col>
    <el-col :span="6"  style="background-color: #00FF00;">测试1</el-col>
  </el-row>

  <h3>两张图</h3>
  <el-row :gutter="30">
    <el-col :span="12"><img src="2024.png" style="width:100%;"></el-col>
    <el-col :span="12"><img src="2024.png" style="width:100%;"></el-col>
  </el-row>

  <el-row>
        <el-col :span="3" v-for="item in 8">{{item}}</el-col>
  </el-row>

  <h3>列偏移</h3>
  <el-row>

      <el-col :span="20" :offset="4">
        <img src="2024.png" style="width:100%">
      </el-col>

  </el-row>

  <h4>布局嵌套</h4>
  <el-row>
    <el-col :span="12" style="border: 5px solid #f00">左侧</el-col>
    <el-col :span="12" style="border: 5px solid #0f0">
      <el-row>
        <el-col :span="8" style="border: 5px solid#00f">左</el-col>
        <el-col :span="8" style="border: 5px solid#0ff">中</el-col>
        <el-col :span="8" style="border: 5px solid#f0f">右</el-col>
      </el-row>
    </el-col>
  </el-row>
</template>
<script setup>

</script>


<style scoped>

</style>